package com.zlc.workflow.core.process.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "节点")
public class FlowNode {

    @ApiModelProperty(value = "节点ID")
    private String nodeId;

    @ApiModelProperty(value = "节点编号")
    private String nodeNum;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "节点类型")
    private String nodeType;

    @ApiModelProperty(value = "坐标 X")
    private double x;

    @ApiModelProperty(value = "坐标 y")
    private double y;

    @ApiModelProperty(value = "高")
    private Integer height;

    @ApiModelProperty(value = "宽")
    private Integer width;

    @ApiModelProperty(value = "icon")
    private String icon;

    @ApiModelProperty(value = "节点路线")
    private List<FlowPath> paths;
}
